﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/AutoAdsWindow.ui
*/



@UIBind('UI/AutoAdsWindow.ui')
export default class AutoAdsWindow_Generate extends UIScript {
		private con_view_anchor_Internal: mw.Canvas
	public get con_view_anchor(): mw.Canvas {
		if(!this.con_view_anchor_Internal&&this.uiWidgetBase) {
			this.con_view_anchor_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_view_anchor') as mw.Canvas
		}
		return this.con_view_anchor_Internal
	}
	private con_view_Internal: mw.Canvas
	public get con_view(): mw.Canvas {
		if(!this.con_view_Internal&&this.uiWidgetBase) {
			this.con_view_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_view_anchor/con_view') as mw.Canvas
		}
		return this.con_view_Internal
	}
	private txt_context_Internal: mw.TextBlock
	public get txt_context(): mw.TextBlock {
		if(!this.txt_context_Internal&&this.uiWidgetBase) {
			this.txt_context_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_view_anchor/con_view/txt_context') as mw.TextBlock
		}
		return this.txt_context_Internal
	}
	private btn_close_Internal: mw.Button
	public get btn_close(): mw.Button {
		if(!this.btn_close_Internal&&this.uiWidgetBase) {
			this.btn_close_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_view_anchor/con_view/btn_close') as mw.Button
		}
		return this.btn_close_Internal
	}
	private bar_timer_Internal: mw.ProgressBar
	public get bar_timer(): mw.ProgressBar {
		if(!this.bar_timer_Internal&&this.uiWidgetBase) {
			this.bar_timer_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_view_anchor/con_view/bar_timer') as mw.ProgressBar
		}
		return this.bar_timer_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 